package com.gxuwz.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 报修申请单
 * 
 * @author 小胡
 * @date 2017年5月28日
 */
@Entity
@Table(name = "sys_repair_application")
public class SysRepairApplication extends BaseEntity {

	private static final long serialVersionUID = 7809178282575688347L;

	@Column(name = "dept_name")
	private String deptName; // 报修部门
	@Column(name = "lab_name")
	private String labName; // 所在实验室
	@Column(name = "equip_id")
	private Integer equipId; // 设备编号，型号
	@Column(name = "tech_name")
	private String techName; // 实验技术员(报修人)
	@Column(name = "insp_name")
	private String inspName; // 检测人员
	@Column(name = "app_desc")
	private String desc; // 故障现象说明（实验技术员填写）
	@Column(name = "app_sitn")
	private String sitn; // 故障检测情况（检测人员填写）
	@Column(name = "app_create_date")
	private String createDate; // 申请日期
	@Column(name = "app_deal_date")
	private String dealDate; // 处理日期
	@Column(name = "app_status")
	private String status; // 状态(未检测、已检测)

	public SysRepairApplication() {
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getLabName() {
		return labName;
	}

	public void setLabName(String labName) {
		this.labName = labName;
	}

	public Integer getEquipId() {
		return equipId;
	}

	public void setEquipId(Integer equipId) {
		this.equipId = equipId;
	}

	public String getTechName() {
		return techName;
	}

	public void setTechName(String techName) {
		this.techName = techName;
	}

	public String getInspName() {
		return inspName;
	}

	public void setInspName(String inspName) {
		this.inspName = inspName;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getSitn() {
		return sitn;
	}

	public void setSitn(String sitn) {
		this.sitn = sitn;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getDealDate() {
		return dealDate;
	}

	public void setDealDate(String dealDate) {
		this.dealDate = dealDate;
	}

	@Override
	public String toString() {
		return "SysRepairApplication [deptName=" + deptName + ", labName="
				+ labName + ", equipId=" + equipId + ", techName=" + techName
				+ ", inspName=" + inspName + ", desc=" + desc + ", sitn="
				+ sitn + ", createDate=" + createDate + ", dealDate="
				+ dealDate + ", status=" + status + "]";
	}

}
